package com.zpz.framework.zpzoauth.dao;



import com.zpz.framework.zpzoauth.common.dao.ZpzOauthBaseMapper;
import com.zpz.framework.zpzoauth.pojo.pe.FrameReleaseAccessPe;
import com.zpz.framework.zpzoauth.pojo.po.FrameReleaseAccess;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * @author zhangpanzhi
 * @time 2019-07-09
 * @description 未经本人允许请勿随便改动，尊重劳动
 * */
public interface ZpzOauthFrameReleaseAccessMapper extends ZpzOauthBaseMapper<FrameReleaseAccess> {
    List<FrameReleaseAccessPe> selectReleaseAccess(@Param("clientId") String clientId);

    /**
     * 获取放行权限信息列表
     * @param frameReleaseAccess
     * @return
     */
    List<FrameReleaseAccess> selectFrameReleaseAccessList(FrameReleaseAccess frameReleaseAccess);

    /**
     * 修改放行权限信息
     * @param frameReleaseAccess
     * @return
     */
    Integer updateFrameReleaseAccess(FrameReleaseAccess frameReleaseAccess);

    /**
     * 删除放行权权限信息
     * @param frameReleaseAccess
     * @return
     */
    Integer delFrameReleaseAccess(FrameReleaseAccess frameReleaseAccess);
}
